package cn.xd.base.persistence.dos;

import cn.xd.core.entity.BasicDBEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 移动端用户与第三方应用关联表
 * </p>
 *
 * @author chenyh
 * @since 2023-09-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("xd_global_app_user_third_party")
public class AppUserThirdPartyDO extends BasicDBEntity {

    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 开放id
     */
    private String openId;

    /**
     * 唯一id
     */
    private String unionId;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 应用类型
     */
    private Integer appUserType;

    /**
     * 创建时间
     */
    private Date createTime;

}
